package com.qf.dao;

import com.qf.bean.Student2;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface Student2Dao {

    //1.使用mybatis查询所有数据
    @Select("select * from student2")
    public List<Student2> findstudent2();

    //查询年级和学生信息
    public List<Student2> findstudentsbyIds(int[] ids);
}
